package com.hpf.community.pojo;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 日志表实体类  与数据库一一对应,请勿轻易修改
 * </p>
 *
 * @author huangpengfei
 * @version 2020年04月04日---22:57:14
 * @description
 */
@Data
public class Log extends Model<Log> {

    private static final long serialVersionUID = 1L;

    public static final String ID = "ID";

    public static final String DESCRIPTION = "DESCRIPTION";

    public static final String CREATE_USERID = "CREATE_USERID";

    public static final String CREATE_USERNAME = "CREATE_USERNAME";

    public static final String CREATE_DATETIME = "CREATE_DATETIME";

    public static final String ARGS = "ARGS";


    @TableId("ID")
    private String id;

    @TableField("DESCRIPTION")
    private String description;

    @TableField("ARGS")
    private String args;

    @TableField("CREATE_USERID")
    private String createUserid;

    @TableField("CREATE_USERNAME")
    private String createUsername;

    @TableField("CREATE_DATETIME")
    private Date createDatetime;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }


}
